package com.abc.invoke.bean;

import java.math.BigInteger;

public final class SimpleUserSessionToken implements UserSessionToken {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	private String userName;
	private long userId;
	private BigInteger sessionId;

	public SimpleUserSessionToken(final BigInteger sessionId) {
		this(null, -1L, sessionId);
	}

	public SimpleUserSessionToken(final String userName, final long userId, final BigInteger sessionId) {
		this.userName = userName;
		this.userId = userId;
		this.sessionId = sessionId;
	}

	@Override
	public BigInteger getUserSessionId() {
		// TODO Auto-generated method stub
		return this.sessionId;
	}

}
